package T6_24;

public class Test3 {
    public static void mysqrt(int a) throws Test2{
        if(a<0) throw new Test2();
        System.out.println(Math.sqrt(a));
    }

    public static void main(String[] args) {
        try {
            mysqrt(25);
            mysqrt(-5);
        }catch (Test2 e){
            System.out.println("cdssdf "+e);
        }
    }
}
